<?php
if (!EASYURPMI)
	die;

header('Content-Type: application/x-urpmi-media; charset=UTF-8');
header('Content-Disposition: inline; filename="easyurpmi.urpmi-media"');
ob_start();

$repo = "mdv";
list($askedrepo) = array_keys($_GET['autorepo']);
if ($repo_name[$askedrepo])
	$repo = $askedrepo;

echo "--distrib\n";
echo "--mirrorlist\n";
echo get_list_url($repo)."\n";

header("Content-Length: ". ob_get_length());
die;

?>